package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Tag;

import java.util.List;

public interface ITagService {
    /**
     * 根据状态查询标签
     * @param state
     * @return
     */
    List<Tag> getTagsByState(Integer state,Long strategyId);

    /**
     * 添加标签,返回id
     * @param
     * @return
     */
    void save(Tag tag);

    void saveForCommentTag(Long iagId, Long commentId);
}
